import request from "../utils/request"

export const apiToRegustered = (data)=>{
    return request({
        url:'/user/registered',
        method:'post',
        data
    })
}
export const apiToLogin = (data)=>{
    return request({
        url:'user/login',
        method:'post',
        data
    })
}